package main

type Status struct {
	CPUTotal     int32
	CPUMax       int32
	CPUUsing     int32
	CPUWait      int32
	StorageTotal int32
	StorageUsing int32
	Time         int64
}

func NewStatus(cpuTotal, cpuMax, storageTotal, time int) *Status {
	return &Status{
		CPUTotal:     int32(cpuTotal),
		CPUMax:       int32(cpuMax),
		CPUUsing:     0,
		CPUWait:      0,
		StorageTotal: int32(storageTotal),
		StorageUsing: 0,
		Time:         int64(time),
	}
}
